package day7;

public class USBTest {
    public static void main(String[] args) {
        Usb fan=new USBfan("老哥");
        fan.plugin();
        fan.work();
        fan.unuplug();
        Usb b2=new USBMouse("战狼",200);
        ((USBMouse) b2).sunshaine();
        b2.plugin();
        b2.unuplug();
        b2.work();
    }

}
